<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	request.setAttribute("ctx", request.getContextPath());
%>
<html>
<head>
<title>Login Page</title>
</head>
<body onload='document.f.j_username.focus();'>
	<form class="registerform" name="f"
		action="${ctx}/j_spring_security_check" method="post">
		<div>
			信息:${sessionScope["SPRING_SECURITY_LAST_EXCEPTION"].message}
		</div>
		<table>
			<tr>
				<td>账号：</td>
				<td><input type="text" maxlength="100" name="j_username" /></td>
			</tr>
			<tr>
				<td>密码：</td>
				<td><input type="text" maxlength="100" name="j_password" /></td>
			</tr>
			<tr>
				<td colspan="2"><input type="submit" value="登陆" tabindex="4"
					id="send-btn" /></td>
			</tr>
		</table>

	</form>
</body>
</html>